<script lang="ts">
  export default{
    name:'HelloWorld'
  }
</script>

<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { useCounterStore} from '../store/app'
import {reqPcshop1ListData} from '../api/api2'

reqPcshop1ListData()
const counter = useCounterStore()
counter.increment()
console.log(counter.count)
defineProps<{ msg: string }>()
onMounted(()=>{
  counter.getYanXuanIndexData()
})
</script>

<template>
 <!-- v-show="$route.meta.isShowTab" -->

  <div class="card">
    <button type="button" @click="counter.increment">count is {{ counter.count }}</button>
    
  </div>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
